package com.flow.asyncflow.core.annotation;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.*;

@Target({TYPE, METHOD, FIELD, CONSTRUCTOR})
@Retention(RetentionPolicy.RUNTIME)
public @interface FlowInfo {
    //异步流名称
    String flowName();

    //异步流负责人工号用| 隔开
    String flowMaintainName();

    //异步流超时时间
    int timeOutsLimit();

    //哪些环境不需要记录日志 product|stage|test
    String ignoreFlowLogEvn() default "";
}
